package com.qingcloud.base.remote.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 数据源列表统计对象
 * </p>
 *
 * @author wangjinnan
 * @since 2021-03-17
 */
@Getter
@Setter
@ToString
public class DsStatisticsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据源ID", example = "1")
    private Integer id;

    @ApiModelProperty(value = "数据源名称", example = "旺仔数据源")
    private String name;

    @ApiModelProperty(value = "资产分类数量", example = "3")
    private Integer catalogCount;

    @ApiModelProperty(value = "资产表数量", example = "6")
    private Integer tableCount;

    @ApiModelProperty(value = "已提交占比", example = "43")
    private BigDecimal submitPercent;

    @ApiModelProperty(value = "饼图数据")
    private List<Map<String, Object>> barData;

}
